<div class="box">
	<div class="header">
		Online Users
	</div>
	<div class="body">
		<div class="panes">
			<div class="clearfix">
				<table cellpadding="0" cellspacing="0" border="0" class="display dataTable">
					<thead>
						<tr>
							<th>User ID</th>
							<th>IP Address</th>
							<th>UserName</th>
							<th>Name</th>
							<th>Date</th>
							<th>Member Type</th>
							<th>Action</th>
						</tr>
					</thead>
					<tbody>
						<{foreach name=outer item=userSessionEntity from=$arrUserSessionEntity}>
						<tr class="gradeX">
							<td><{$userSessionEntity->userId}></td>
							<td><{$userSessionEntity->ipAddress}></td>
							<td><{$userSessionEntity->usersEntity->username}></td>
							<td><{$userSessionEntity->usersEntity->firstName}> <{$userSessionEntity->usersEntity->lastName}></td>
							<td><{$userSessionEntity->createdTime}></td>
							<td><{if $userSessionEntity->usersEntity->id != ''}><{$userSessionEntity->usersEntity->getUserTypeName()}><{else}>Anonymous<{/if}></td>
							<td>
								<a href="<{$APPLICATION_URL}>/Admin/Index/uservisithistory/sid/<{$userSessionEntity->id}>/userId/<{$userSessionEntity->userId}>">View History</a>
							</td>
						</tr>
						<{/foreach}>

					</tbody>
				</table>
			</div>
		</div>
	</div>
</div>